home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / modula2 / 491 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  979 b 

  1. Path: news.latnet.lv!super
  2. From: jansons@info.lv (Andrejs Jansons)
  3. Newsgroups: comp.lang.modula2
  4. Subject: Re: Interrupt Handlers in Topspeed Modula 2 V1.17
  5. Date: Sat, 30 Mar 96 19:07:17 GMT
  6. Organization: INFO Ltd.
  7. Message-ID: <4jjiug$lrh@news.latnet.lv>
  8. References: <496207970wnr@harvey27.demon.co.uk>
  9. NNTP-Posting-Host: super.info.lv
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12.  
  13.  
  14. The first approach is the best in the case when you must handle interrupts 
  15. as fast as possible (e.q. some 1000-3000 int. per sec. from high-speed data
  16. link). The second one is a "classic" way to handle interrupts in Modula-2, but 
  17. it is *MUCH SLOWER* and well suited only for no more than 100-200 int. per 
  18. sec. The amount of code executed for each interrupt in this case is almost 100 
  19. machine commands for TopSpeed Modula-2 v1.17. Of course, all mentioned above
  20. depends from how fast CPU you use.
  21.  
  22.                                      
  23.                                                Andrejs.
  24.